<!DOCTYPE html>
<html lang="zh">

<head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.7.1/gsap.min.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.7.1/ScrollTrigger.min.js"></script>
    <style>
        * {
            margin: 0;
            padding: 0;
        }


        section {
            width: 100%;
            height: 100vh;
            background-color: pink;
            background-size: cover;
            background-attachment: fixed;
            background-position: center;
            box-shadow: 0 10px 40px rgba(0,0,0,0.9);
        }

        section:nth-child(1) {
            background-image: url("./imgs/1.jpg") ;
        }

        section:nth-child(2) {
            background-image: url("./imgs/3.jpg") ;
        }

        section:nth-child(3) {
            background-image: url("./imgs/4.jpg") ;
        }

        section:nth-child(4) {
            background-image: url("./imgs/5.jpg") ;
        }

        section:nth-child(5) {
            background-image: url("./imgs/7.jpg") ;
        }

        h1 {
            text-align: center;
            line-height: 600px;
            color:rgb(194, 24, 52);
            font-size: 70px;
        }
    </style>
</head>

<body>
    <section>
        <h1>One</h1>
    </section>
    <section>
        <h1>Two</h1>
    </section>
    <section>
        <h1>Three</h1>
    </section>
    <section>
        <h1>Four</h1>
    </section>
    <section>
        <h1>Five</h1>
    </section>
</body>

</html>